package com.restphp.java.hashdb.test;

import com.restphp.java.hashdb.dcs.HashDbClusterConfig;
import com.restphp.java.hashdb.dcs.constant.IPType;
import com.restphp.java.hashdb.dcs.po.ClusterNode;

import java.util.ArrayList;
import java.util.List;

/**
 * 群集配置.
 * Created by sofical on 2020/8/11.
 */
public class HashDbClusterConfigImpl implements HashDbClusterConfig {
    @Override
    public List<ClusterNode> nodeList() {
        List<ClusterNode> nodeList = new ArrayList<>();
        ClusterNode node = new ClusterNode();
        node.setAddress("192.168.1.6");
        nodeList.add(node);
        return nodeList;
    }
}
